package com.cwh.taskcenter.reward.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author cwh
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GrantRewardCmd {

    private Long taskId;

    private Long userId;

    private Long userTaskId;

    /**
     * 奖励类型：积分、优惠券、佣金
     */
    private String rewardType;

    /**
     * 奖励值：如果是积分、佣金那么便是实际的数值，如果是优惠券便是优惠券id
     */
    private String rewardValue;

    /**
     * 奖励有效期
     */
    private String rewardExpireTime;

    /**
     * 奖励描述
     */
    private String rewardDesc;


    /**
     * 业务类型
     */
    private String bizType;

    /**
     * 业务id
     */
    private Long bizId;

    private String title;

}
